package com.zm.zb100.persistence.entity.dto;

import java.util.Collection;

/**
 * Created by lijingyao on 2020/1/30 15:45.
 */
public class PageResultDTO {

    private Collection content;
    private PagedDTO page;


    public PageResultDTO() {
    }

    public PageResultDTO(PagedDTO page) {
        this.page = page;
    }

    public Collection getContent() {
        return content;
    }

    public PageResultDTO setContent(Collection content) {
        this.content = content;
        return this;
    }

    public PagedDTO getPage() {
        return page;
    }

    public PageResultDTO setPage(PagedDTO page) {
        this.page = page;
        return this;
    }

    @Override
    public String toString() {
        return "PageResultDTO{" +
                "content=" + content +
                ", page=" + page +
                '}';
    }
}
